for j in $(seq 1000)
do
    for i in `./getCounters.sh "select * from tables"|awk -F\" '/portsCounters_/{print  $2 }'`;
    do 
        ./getCounters.sh "select * from $i"; 
    done
    sleep 1;

done

#for i in $(seq 1000); do cp /proc/2663/smaps sm.$i; free >>sm.$i; sleep 2; done
